package com.ruoyi.dto;

import com.ruoyi.pojo.TbEmployee;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbEmployeeDto extends TbEmployee {
    private Integer pageNum;
    private Integer pageSize;
    private Long roleId;
    private List<Long> emplIdList;
    private List<String> roleNameList;
    private List<String> budingNameList;
    private List<String> budingIdList;
    private List<TbCheDto> cheList;
    private String cardtype;
    private String cardNum;
    private List<Long> addRoleIdList;
    private List<TbCheDto> cheIdList;
    private List<Long> roleIdList;
//    JSON parse error: Cannot deserialize value of type `java.util.ArrayList<java.lang.Object>` from Object value (token `JsonToken.START_OBJECT`); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.util.ArrayList<java.lang.Object>` from Object value (token `JsonToken.START_OBJECT`) at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 90] (through reference chain: com.ruoyi.dto.TbEmployeeDto["cardList"]->java.util.ArrayList[0])
}